local AS = ElvUI[1]:GetModule('AddOnSkins')

local name = "PoMTrackerSkin"
function AS:SkinPoMTracker()
	AS:SkinFrame(PoMOptionFrame)
	AS:SkinCloseButton(PoMOptionFrame_CloseButton)
	AS:SkinBackdropFrame(pomtracker1)
	pomtracker1:Size(85,15)
	pomtracker2:ClearAllPoints()
	pomtracker2:Point("TOP", pomtracker1, "BOTTOM", 0, -5)
	AS:SkinBackdropFrame(pomtracker2)
	AS:SkinBackdropFrame(pomtracker3)
	pomtracker3:ClearAllPoints()
	pomtracker3:Point("TOP", pomtrackerstatusBar, "BOTTOM", 0, -5)
	pomtracker3:Height(15)
	AS:SkinButton(pomtracker3_Button1)
	pomtrackerstatusBar:ClearAllPoints()
	pomtrackerstatusBar:Point("TOP", pomtracker2, "BOTTOM", 0, -5)
	AS:SkinStatusBar(pomtrackerstatusBar)

	for i = 1,6 do
		AS:SkinCheckBox(_G["PoMOptionFrame_CheckButton"..i])
	end
	pomtracker2:HookScript("OnUpdate", function() pomtrackerstatusBar:Width(pomtracker2:GetWidth()) pomtracker3:Width(pomtracker2:GetWidth()) end)
end

AS:RegisterSkin(name, AS.SkinPoMTracker)